package cn.jeasy.core.mvc.annotation;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import cn.jeasy.core.mvc.em.RequestMethod;

@Documented
@Retention(RUNTIME)
@Target({ TYPE, METHOD })
public @interface RequestMapping {
 String value() default "";
 RequestMethod[] method() default {RequestMethod.GET,RequestMethod.POST};
}
